package com.bootx.entity;

import com.fasterxml.jackson.annotation.JsonView;
import jakarta.persistence.Entity;

/**
 * @author black
 */
@Entity
public class Config extends BaseEntity<Long> {

    /**
     * 找到红包之后等待的时间。单位毫秒
     */
    @JsonView({EditView.class})
    private Integer stopSeconds;

    /**
     * 开始抢的第几个红包
     */
    @JsonView({EditView.class})
    private Integer walletIndex;

    @JsonView({EditView.class})
    private Integer predictionCount;

    public Integer getStopSeconds() {
        return stopSeconds;
    }

    public void setStopSeconds(Integer stopSeconds) {
        this.stopSeconds = stopSeconds;
    }

    public Integer getWalletIndex() {
        return walletIndex;
    }

    public void setWalletIndex(Integer walletIndex) {
        this.walletIndex = walletIndex;
    }

    public Integer getPredictionCount() {
        return predictionCount;
    }

    public void setPredictionCount(Integer predictionCount) {
        this.predictionCount = predictionCount;
    }
}
